package com.cyy.common.pojo.query.system;

import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springdoc.core.annotations.ParameterObject;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author caoyunyou
 */
@Data
@Schema(name = "ArticleQuery", description = "文章表 Query 数据查询对象")
@ParameterObject
public class SystemArticleQuery implements Serializable {
    @Serial
    private static final long serialVersionUID = 6768284415127917587L;

    @Parameter(description = "文章标题")
    private String title;

    @Parameter(description = "分类id")
    private Integer categoryId;

    @Schema(description = "标签id")
    private Integer tagId;

    @Parameter(description = "是否发布(0否，1是)")
    private Integer isPush;

    @Parameter(description = "是否顶置(0否，1是)")
    private Integer isTop;

    @Parameter(description = "是否原创 (0原创，1转载)")
    private Integer isOriginal;
}
